import React, { Component } from 'react'

export default class Test extends Component {
  render() {
    console.log('test更新了')
    return <div>Test</div>
  }
  shouldComponentUpdate() {
    // 返回true,则组件继续更新
    // 返回false,则组件中断更新
    return false
  }
}
